SiopOpenId4VPConfig

data class SiopOpenId4VPConfig(val issuer: Issuer? = SelfIssued, val jarConfiguration: JarConfiguration = JarConfiguration.Default, val responseEncryptionConfiguration: ResponseEncryptionConfiguration = NotSupported, val vpConfiguration: VPConfiguration, val clock: Clock = Clock.systemDefaultZone(), val jarClockSkew: Duration = Duration.ofSeconds(15L), val supportedClientIdPrefixes: List<SupportedClientIdPrefix>, val errorDispatchPolicy: ErrorDispatchPolicy = ErrorDispatchPolicy.OnlyAuthenticatedClients)(source)

Wallet configuration options for SIOP & OpenId4VP protocols.

At minimum, a wallet configuration should define at least a supportedClientIdPrefixes

Parameters

issuer

an optional id for the wallet. If not provided defaults to SelfIssued.

jarConfiguration

options related to JWT Secure authorization requests. If not provided, it will default to JarConfiguration.Default

responseEncryptionConfiguration

whether wallet supports authorization response encryption. If not specified, it takes the default value ResponseEncryptionConfiguration.NotSupported.

vpConfiguration

options about OpenId4VP.

clock

the system Clock. If not provided system's default clock will be used.

jarClockSkew

max acceptable skew between wallet and verifier

supportedClientIdPrefixes

the client id prefixes that are supported/trusted by the wallet

errorDispatchPolicy

wallet's policy regarding error dispatching. Defaults to ErrorDispatchPolicy.OnlyAuthenticatedClients.

Constructors

Link copied to clipboard
constructor(issuer: Issuer? = SelfIssued, jarConfiguration: JarConfiguration = JarConfiguration.Default, responseEncryptionConfiguration: ResponseEncryptionConfiguration = NotSupported, vpConfiguration: VPConfiguration, clock: Clock = Clock.systemDefaultZone(), jarClockSkew: Duration = Duration.ofSeconds(15L), errorDispatchPolicy: ErrorDispatchPolicy = ErrorDispatchPolicy.OnlyAuthenticatedClients, vararg supportedClientIdPrefixes: SupportedClientIdPrefix)
constructor(issuer: Issuer? = SelfIssued, jarConfiguration: JarConfiguration = JarConfiguration.Default, responseEncryptionConfiguration: ResponseEncryptionConfiguration = NotSupported, vpConfiguration: VPConfiguration, clock: Clock = Clock.systemDefaultZone(), jarClockSkew: Duration = Duration.ofSeconds(15L), supportedClientIdPrefixes: List<SupportedClientIdPrefix>, errorDispatchPolicy: ErrorDispatchPolicy = ErrorDispatchPolicy.OnlyAuthenticatedClients)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val issuer: Issuer?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard